package com.grt.admin.domain.dto;

import javax.validation.constraints.NotNull;

public class ArticleDTO {

	private long id;

	@NotNull(message = "标题不能为空")
	private String title;

	private String shorttitle;

	private Long keywords;// 关键词

	private String description;// 描述

	private String content;

	private Long appendixid;

	private String filename;// 附件名

	private Long typeid;// 分类

	private String author;// 作者

	private String outlink;// 外链

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getShorttitle() {
		return shorttitle;
	}

	public void setShorttitle(String shorttitle) {
		this.shorttitle = shorttitle;
	}

	public Long getKeywords() {
		return keywords;
	}

	public void setKeywords(Long keywords) {
		this.keywords = keywords;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getAppendixid() {
		return appendixid;
	}

	public void setAppendixid(Long appendixid) {
		this.appendixid = appendixid;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public Long getTypeid() {
		return typeid;
	}

	public void setTypeid(Long typeid) {
		this.typeid = typeid;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getOutlink() {
		return outlink;
	}

	public void setOutlink(String outlink) {
		this.outlink = outlink;
	}

}
